home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / Source / GNU / perl / Perl / ext / SDBM_File / sdbm / CHANGES < prev    next >
Encoding:
Text File  |  1994-10-18  |  900 b   |  19 lines

  1. Changes from the earlier BETA releases.
  2.  
  3. o dbm_prep does everything now, so dbm_open is just a simple
  4.   wrapper that builds the default filenames. dbm_prep no longer
  5.   requires a (DBM *) db parameter: it allocates one itself. It
  6.   returns (DBM *) db or (DBM *) NULL.
  7.  
  8. o makroom is now reliable. In the common-case optimization of the page
  9.   split, the page into which the incoming key/value pair is to be inserted
  10.   is write-deferred (if the split is successful), thereby saving a cosly
  11.   write.  BUT, if the split does not make enough room (unsuccessful), the
  12.   deferred page is written out, as the failure-window is now dependent on
  13.   the number of split attempts.
  14.  
  15. o if -DDUFF is defined, hash function will also use the DUFF construct.
  16.   This may look like a micro-performance tweak (maybe it is), but in fact,
  17.   the hash function is the third most-heavily used function, after read
  18.   and write.
  19.